package com.ysd.zhaoxing.dto;


public class StudentsDTO {
	
	private String stu_name;
	private String class_id;
	private String begin;
	private String end;
	private int page;
	private int limit;
	
	
	public String getClass_id() {
		return class_id;
	}
	public void setClass_id(String class_id) {
		this.class_id = class_id;
	}
	public String getStu_name() {
		return stu_name;
	}
	public void setStu_name(String stu_name) {
		this.stu_name = stu_name;
	}
	
	public String getBegin() {
		return begin;
	}
	public void setBegin(String begin) {
		this.begin = begin;
	}
	public String getEnd() {
		return end;
	}
	public void setEnd(String end) {
		this.end = end;
	}
	public int getPage() {
		return (page-1)*getLimit();
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getLimit() {
		return limit;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	
	public StudentsDTO(String stu_name, String class_id, String begin, String end, int page, int limit) {
		super();
		this.stu_name = stu_name;
		this.class_id = class_id;
		this.begin = begin;
		this.end = end;
		this.page = page;
		this.limit = limit;
	}
	public StudentsDTO() {
		super();
	}
	@Override
	public String toString() {
		return "StudentsDTO [stu_name=" + stu_name + ", class_id=" + class_id + ", begin=" + begin + ", end=" + end
				+ ", page=" + page + ", limit=" + limit + "]";
	}
	
	
	
}

